package com.zjsd.sqeybusiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 当天工作内容
对象 jobrecord
 *
 * @author Zheng
 * @date 2022-06-23
 */
public class Jobrecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recordid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userid;

    /** 业务员姓名 */
    @Excel(name = "业务员姓名")
    private String ywyname;

    /** 工作类型1找客户2拜访客户3培训客户 */
    @Excel(name = "工作类型1找客户2拜访客户3培训客户")
    private String type;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String content;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lrtime;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    private Integer khsl ;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "所属日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ssrq;

    public Date getSsrq() {
        return ssrq;
    }

    public void setSsrq(Date ssrq) {
        this.ssrq = ssrq;
    }

    public Integer getKhsl() {
        return khsl;
    }

    public void setKhsl(Integer khsl) {
        this.khsl = khsl;
    }

    public void setRecordid(Long recordid)
    {
        this.recordid = recordid;
    }

    public Long getRecordid()
    {
        return recordid;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setYwyname(String ywyname)
    {
        this.ywyname = ywyname;
    }

    public String getYwyname()
    {
        return ywyname;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setLrtime(Date lrtime)
    {
        this.lrtime = lrtime;
    }

    public Date getLrtime()
    {
        return lrtime;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordid", getRecordid())
            .append("userid", getUserid())
            .append("ywyname", getYwyname())
            .append("type", getType())
            .append("content", getContent())
            .append("lrtime", getLrtime())
            .append("bz", getBz())
            .toString();
    }
}
